package com.traceability.trace.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.traceability.common.annotation.Excel;
import com.traceability.common.core.domain.BaseEntity;

/**
 * hash对象 agriculturalproducthash
 * 
 * @author xulin
 * @date 2025-01-09
 */
public class Agriculturalproducthash extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 农产品 */
    @Excel(name = "农产品")
    private Long productId;

    /** hash值 */
    @Excel(name = "hash值")
    private String hashValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setHashValue(String hashValue) 
    {
        this.hashValue = hashValue;
    }

    public String getHashValue() 
    {
        return hashValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("hashValue", getHashValue())
            .toString();
    }
}
